package com.car.http;

import com.car.application.LocalApplication;

import android.os.Handler;

public class AsyncHttpDownload {
	private Handler handler;

	private String url = "";

	private String savePath = "";

	public AsyncHttpDownload(Handler handler) {
		this.handler = handler;
	}
	
	public void downloadFile(){
		
//		LocalApplication.getInstance().finalHttp.download(url, savePath, true, new AjaxCallBack<File>(){
//			
//			@Override
//			private void onLoading() {
//				// TODO Auto-generated method stub
//				super.onLoading(count, current);
//			}
//			@Override
//			private void onSucces() {
//				handler.sendEmptyMessage(1);
//			}
//			@Override
//			private void onFailure() {
//				// TODO Auto-generated method stub
//				handler.sendEmptyMessage(-1);
//			}
//		});
	}
}
